<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/12/012
 * Time: 10:53
 */

namespace app\index\interfaceIn;


use app\Lib\InterfaceIn\Api\Api;
use app\Lib\Ioc\AdminAuth\MenuManage;

class getMenuList extends Common implements Api
{
    /**
     * @return mixed
     * @throws \app\Lib\Exception\BlException
     */
    public function handle()
    {
        $model = (new MenuManage());
        $data  = $model->getMenuList($this->param->postData);
        return $this->returnCreate($data);
    }

    public function check()
    {
        return true;
    }
}